package org.jeecg.modules.product.basics.vo;

import java.util.List;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.jeecg.modules.product.basics.entity.TbBasicsStashProduct;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;


/**
 * @Description: 仓库信息
 * @Author: jeecg-boot
 * @Date:   2024-07-05
 * @Version: V1.0
 */
@Data
@Schema(description="仓库信息")
public class TbBasicsStashPage {

	/**主键*/
	@Schema(description = "主键")
    private String id;
	/**创建人*/
	@Schema(description = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@Schema(description = "创建日期")
    private Date createTime;
	/**更新人*/
	@Schema(description = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@Schema(description = "更新日期")
    private Date updateTime;
	/**所属部门*/
	@Schema(description = "所属部门")
    private String sysOrgCode;
	/**区域类型*/
	@Excel(name = "区域类型", width = 15)
	@Schema(description = "区域类型")
    private String regionType;
	/**仓库编码*/
	@Excel(name = "仓库编码", width = 15)
	@Schema(description = "仓库编码")
    private String number;
	/**仓库名称*/
	@Excel(name = "仓库名称", width = 15)
	@Schema(description = "仓库名称")
    private String name;
	/**所在位置*/
	@Excel(name = "所在位置", width = 15)
	@Schema(description = "所在位置")
    private String position;
	/**占地面积（㎡）*/
	@Excel(name = "占地面积（㎡）", width = 15)
	@Schema(description = "占地面积（㎡）")
    private String floorSpace;
	/**仓库管理员*/
	@Excel(name = "仓库管理员", width = 15)
	@Schema(description = "仓库管理员")
    private String manager;
	/**联系方式*/
	@Excel(name = "联系方式", width = 15)
	@Schema(description = "联系方式")
    private String tel;
	/**有无防火墙*/
	@Excel(name = "有无防火墙", width = 15, dicCode = "haveOrNot")
    @Dict(dicCode = "haveOrNot")
	@Schema(description = "有无防火墙")
    private String isFirewall;
	/**仓库用途*/
	@Excel(name = "仓库用途", width = 15, dicCode = "warehouseUse")
    @Dict(dicCode = "warehouseUse")
	@Schema(description = "仓库用途")
    private String warehouseUse;
	/**存放物体形态*/
	@Excel(name = "存放物体形态", width = 15, dicCode = "mediumForm")
    @Dict(dicCode = "mediumForm")
	@Schema(description = "存放物体形态")
    private String mediumForm;
	/**设计使用年限*/
	@Excel(name = "设计使用年限", width = 15)
	@Schema(description = "设计使用年限")
    private Double ageLimit;
	/**火灾危险等级*/
	@Excel(name = "火灾危险等级", width = 15, dicCode = "fireDangerGrade")
    @Dict(dicCode = "fireDangerGrade")
	@Schema(description = "火灾危险等级")
    private String fireGrade;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "normalOrStop")
    @Dict(dicCode = "normalOrStop")
	@Schema(description = "状态")
    private String status;
	/**租户id*/
	@Excel(name = "租户id", width = 15)
	@Schema(description = "租户id")
    private String tenantId;

	@ExcelCollection(name="仓库产品")
	@Schema(description = "仓库产品")
	private List<TbBasicsStashProduct> tbBasicsStashProductList;

}
